package com.sora.sora.common.model.bo;

import com.sora.sora.common.model.entity.TagEntity;
import com.sora.sora.common.model.vo.TagVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface TagBasicConvert {

    TagBasicConvert INSTANCE = Mappers.getMapper(TagBasicConvert.class);

    TagVO entityToVO(TagEntity entity);

    List<TagVO> entitiesToVO(List<TagEntity> entities);
}
